package com.ruoyi.fetv.controller.userController.context.vo;

import com.ruoyi.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;

/**
 * @ClassName RespVO
 * @Description
 * @Author 肖润杰
 * @Time 2023/3/10 11:07
 * @Version 1.0
 */
@ApiModel(value = "UserFetvContextResponseVO", description = "用户栏目的返回VO")
@Data
@Getter
public class RespVO {
    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id", required = true)
    private Long id;

    /**
     * 父栏目id
     */
    @ApiModelProperty(value = "父栏目id", required = true)
    @Dict("fetv_navigation_context:id:navigation_name")
    private Long parentId;

    /**
     * 栏目标题
     */
    @ApiModelProperty(value = "栏目标题", required = true)

    private String navigationName;

    /**
     * 模块分类(字典)
     */
    @ApiModelProperty(value = "模块分类(字典fetv_module_type)", required = true)
    @Dict("字典fetv_module_type")
    private Long moduleClassify;

    /**
     * 图标
     */
    @ApiModelProperty(value = "图标", required = true)

    private String icon;

    /**
     * 是否推荐（0否 1是）
     */
    @ApiModelProperty(value = "是否推荐（0否1是）", required = true)
    @Dict("fetv_no_yes")
    private Long isRecommend;

    /**
     * 跳转方式(字典）
     */
    @ApiModelProperty(value = "跳转方式(字典fetv_jump_mode）", required = true)
    @Dict("fetv_jump_mode")
    private Long jumpMode;

    /**
     * 后端先行获取
     * 避免前端多次请求
     */
    @ApiModelProperty(value = "父节点名", required = true)
    private String parentName = "顶级节点";

}
